package routers

import (
	"genealogy/controllers"

	"github.com/gin-gonic/gin"
)

func personRouter(r *gin.RouterGroup) {
	r.GET("/message", controllers.GetPerson)
	r.DELETE("/message", controllers.DelPerson)
	r.PUT("/message", controllers.UpdatePerson)
	r.POST("/message", controllers.AddPerson)
}
